package wujinye.com.service.impl;

import wujinye.com.dao.DeptDao;
import wujinye.com.model.Dept;
import wujinye.com.service.DeptService;

import java.util.List;

public class DeptServiceImpl implements DeptService {

    private DeptDao deptDao = new DeptDao();

    @Override
    public List<Dept> findAllDept() {
        return deptDao.findAll();
    }
}
